home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ImageMagick / Imakefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  3.3 KB  |  81 lines

  1. #ifndef XCOMM
  2. #define XCOMM #
  3. #endif
  4.  
  5. #ifndef NullParameter
  6. #define NullParameter
  7. #endif
  8.  
  9. XCOMM
  10. XCOMM Imakefile for display, animate, montage, and import.
  11. XCOMM
  12. XCOMM Copyright 1994 E. I. du Pont de Nemours & Company
  13. XCOMM
  14. XCOMM Permission to use, copy, modify, distribute, and sell this software and
  15. XCOMM its documentation for any purpose is hereby granted without fee,
  16. XCOMM provided that the above Copyright notice appear in all copies and that
  17. XCOMM both that Copyright notice and this permission notice appear in
  18. XCOMM supporting documentation, and that the name of E. I. du Pont de Nemours
  19. XCOMM & Company not be used in advertising or publicity pertaining to
  20. XCOMM distribution of the software without specific, written prior
  21. XCOMM permission.  E. I. du Pont de Nemours & Company makes no representations
  22. XCOMM about the suitability of this software for any purpose.  It is provided
  23. XCOMM "as is" without express or implied warranty.
  24. XCOMM
  25. XCOMM E. I. du Pont de Nemours & Company disclaims all warranties with regard
  26. XCOMM to this software, including all implied warranties of merchantability
  27. XCOMM and fitness, in no event shall E. I. du Pont de Nemours & Company be
  28. XCOMM liable for any special, indirect or consequential damages or any
  29. XCOMM damages whatsoever resulting from loss of use, data or profits, whether
  30. XCOMM in an action of contract, negligence or other tortious action, arising
  31. XCOMM out of or in connection with the use or performance of this software.
  32. XCOMM
  33.  
  34. #include "Magick.tmpl"
  35.  
  36. #define PassCDebugFlags CCOPTIONS='$(CCOPTIONS)'
  37.  
  38. #define IHaveSubdirs
  39.  
  40. SUBDIRS= magick
  41.  
  42. MakeSubdirs($(SUBDIRS))
  43. DependSubdirs($(SUBDIRS))
  44.  
  45. PROGRAMS= display import montage animate convert mogrify combine segment
  46.  
  47. AllTarget($(PROGRAMS))
  48.  
  49. NormalProgramTarget(display,display.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  50. InstallProgram(display,$(BINDIR))
  51. InstallManPage(display,$(MANDIR))
  52. NormalProgramTarget(montage,montage.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  53. InstallProgram(montage,$(BINDIR))
  54. InstallManPage(montage,$(MANDIR))
  55. NormalProgramTarget(import,import.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  56. InstallProgram(import,$(BINDIR))
  57. InstallManPage(import,$(MANDIR))
  58. NormalProgramTarget(animate,animate.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  59. InstallProgram(animate,$(BINDIR))
  60. InstallManPage(animate,$(MANDIR))
  61. NormalProgramTarget(convert,convert.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  62. InstallProgram(convert,$(LOCALDIR))
  63. InstallManPage(convert,$(MANDIR))
  64. NormalProgramTarget(mogrify,mogrify.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  65. InstallProgram(mogrify,$(LOCALDIR))
  66. InstallManPage(mogrify,$(MANDIR))
  67. NormalProgramTarget(combine,combine.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  68. InstallProgram(combine,$(LOCALDIR))
  69. InstallManPage(combine,$(MANDIR))
  70. NormalProgramTarget(segment,segment.o,NullParameter,$(LOCAL_LIBRARIES),$(XLIB) -lm)
  71. InstallProgram(segment,$(LOCALDIR))
  72. InstallManPage(segment,$(MANDIR))
  73.  
  74. #define InstallMyManPage(file,destdir,suffix)                           @@\
  75. install.man:: file.man                                                  @@\
  76.     $(INSTALL) -c $(INSTMANFLAGS) file.man $(DESTDIR)destdir/file.suffix
  77.  
  78. InstallMyManPage(ImageMagick,$(MANSOURCEPATH)n,n)
  79. InstallMyManPage(quantize,$(MANSOURCEPATH)5,5)
  80. InstallMyManPage(miff,$(MANSOURCEPATH)5,5)
  81.